package com.young.monitor.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 监控中心服务端配置
 *
 * @author wangjy
 * @date 2021/11/14 14:03:07
 */
@Configuration
@ConfigurationProperties(prefix="young.monitor.server")
public class MonitorServerConfiguration {
    /**
     * 链路数据保存天数
     */
    private Integer storageDays;

    public Integer getStorageDays() {
        return storageDays;
    }

    public void setStorageDays(Integer storageDays) {
        this.storageDays = storageDays;
    }
}
